package com.ctshk.rpc.booking.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统内保险单据信息详情
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_supplier_system_order_insurance_detail")
@ApiModel(value="SupplierSystemOrderInsuranceDetail对象", description="系统内保险单据信息详情")
public class SupplierSystemOrderInsuranceDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属订单ID")
    private Long orderId;

    @ApiModelProperty(value = "保险单号")
    private String insuranceNumber;

    @ApiModelProperty(value = "保险名称")
    private String insuranceName;

    @ApiModelProperty(value = "被保人JSON")
    private String insuredUserJson;

    @ApiModelProperty(value = "投保人JSON")
    private String payUserJson;

    @ApiModelProperty(value = "保费")
    private BigDecimal singleFee;

    @ApiModelProperty(value = "小计")
    private BigDecimal totalFee;

    @ApiModelProperty(value = "保险单ID")
    private Long insuranceId;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
